package com.he.projects.custom.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author heyanjing
 * date:2020-07-13 2020/7/13:20:49
 */
@Slf4j
@Controller
public class IndexController {

    @RequestMapping("/")
    public String index(){
        return "/index";
    }
    @RequestMapping("/home")
    public String home(){
        return "/home";
    }
    @RequestMapping("/user/info")
    public String userInfo(){
        return "/user/info";
    }
    @RequestMapping("/menu")
    public String menu(){
        return "/menu/menu";
    }

}
